@import 'nib'

// 顶部图
#page-header, #page-header:before
  background-color: transparent !important
  background-image: none !important

.top-img
  height: 12.5rem
  margin: -50px -40px 50px
  border-top-left-radius: inherit
  border-top-right-radius: inherit
  background-position: center center
  background-size: cover
  background-repeat: no-repeat
  transition: all 0.3s

  @media screen and (max-width: 768px)
    margin: -1.8rem -0.7rem 1.8rem

  [data-theme='dark'] &
    filter: brightness(0.8)